package com.apes.scm.settle.settle.respository;

import com.apes.framework.jpa.repository.CustomRepository;
import com.apes.scm.settle.settle.model.Settle;
import org.springframework.data.jpa.repository.Query;

import java.util.List;
import java.util.Map;

public interface SettleRepository extends CustomRepository<Settle, String> {

    @Query("select new map( T.paymentMonth as paymentMonth,T.id as id) from PlatformSettle T where  T.id =:id ")
    List<Map<String, String>> getPlatformSettle(String id);
}
